@import './imports';

.at-modal {
  &__overlay {
    background-color: rgba(#000, 0.8);
  }

  &__container {
    width: 86%;
  }

  &__header {
    &:after {
      border: none !important;
    }
  }
}

.at-form {
  padding-left: 0;
  background-color: transparent;

  &:after {
    border: none !important;
  }
}

.at-input {
  padding: 16px 0;
  margin: 0 0 $edge-size;

  &__title {
    font-size: $font-size;
  }

  &:after {
    border-color: #E2E4EA;
  }

  input {
    font-size: $font-size;
  }
}

.at-button {
  margin: 0;

  &--primary {
    background-color: var(--color-primary);
    font-size: $font-size;
    border-color: var(--color-primary);
  }
}

.at-nav-bar {
  &__title {
    font-size: $font-size-large;
  }

  &__item--active {
    color: $color-brand-primary;
  }
}

.at-tab-bar {
  box-sizing: border-box;

  &__item {
    padding: 0 12px;
    line-height: 1;
  }
}

.at-search-bar__action {
  background-color: $color-search-cancel-bg;
  color: $color-primary-text;
}

.at-search-bar::after {
  border: 0;
}

.taro__toast {
  font-size: $font-size !important;

  p {
    font-size: $font-size !important;
  }
}

.swiper-container {
  height: auto !important;
  min-height: 80px;
}


/*mod innisfree*/
.at-tab-bar {
  box-shadow: -20px 5px 15px rgba(#000, .1);
  height: $tabbar-height;

  &.is-ipx {
    height: $tabbar-height + $ipx-fix-height;
  }

  .in-icon {
    font-size: $at-tab-bar-icon-font-size;
  }

  &__title {
    margin-top: -4px;
  }
}

.at-tabs {
  height: $tabs-height;
  box-shadow: 0 10px 10px rgba(#000, 0.05);
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: $navigate-height;
  width: 100%;
  z-index: $z-index-toolbar;

  &__header {}

  .at-tabs__body {
    height: 0;
  }

  .at-tabs__item {
    height: $tabs-height;
    line-height: $tabs-height;
    padding: 0;
  }

  .at-tabs__item-underline {
    height: 2PX;
    width: 20%;
    left: 40%;
  }
}

.search-input__bar.at-search-bar {
  padding: 0 30px !important;
  height: 65px;

  .at-search-bar__input-cnt {
    border-radius: 0;
    height: 65px;
    line-height: 65px;
    background-color: #eff0f0;
  }

  .at-search-bar__placeholder-wrap {
    justify-content: flex-start;
    padding-left: 23px;
    height: 65px;
  }

  .at-search-bar__placeholder {
    font-size: 22px;
    color: #bababa;
  }

  .at-search-bar__placeholder-wrap .at-icon {
    font-size: 16PX;
    color: #a6a6a7;
    opacity: 0.86;
  }

  .at-search-bar__input {
    height: 65px !important;
    padding: 0 30PX;
  }

  .at-search-bar__clear {
    height: 65px;
    line-height: 65px;
  }
}

.home-search__bar.at-search-bar {
  position: absolute;
  top: 28px;
  left: 20px;
  right: 20px;
  padding: 0 !important;
  z-index: $z-index-level-6;
  background: transparent !important;

  .at-search-bar__input-cnt {
    width: 710px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
  }

  .at-search-bar__placeholder-wrap {
    justify-content: flex-start;
    align-items: center;
    padding-left: 23px;
    height: 54px;
  }

  .at-search-bar__placeholder {
    font-size: 22px;
    color: #bababa;
  }

  .at-search-bar__placeholder-wrap .at-icon {
    font-size: 16PX;
    color: #a6a6a7;
    opacity: 0.86;
  }

  .at-search-bar__input {
    height: 54px !important;
    padding: 0 30PX;
  }

  .at-search-bar__clear {
    height: 54px;
    line-height: 54px;
  }
}

.at-button {
  &--secondary {
    border: 1PX solid #c1c1c1;
    color: #fff;
    background: #c1c1c1;
  }

  &--small {
    height: 42px;
    line-height: 38px;
    padding: 0 22px;
    font-size: 22px;

    .at-button__text {
      font-size: 22px;
    }

    &.at-button--circle {
      border-radius: 8px;
    }
  }
}

.at-action-sheet {
  &__item {
    font-size: $font-size;
  }
}

.agreement-drawer {
  .at-float-layout__container {
    height: calc( 100% - 400px );
    max-height:calc( 100% - 400px );
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;

    .layout-body{
      height: 100%;
      max-height:100%;
      padding: 0;
      
      .layout-body__content {
        height: 100%;
        max-height:100%;
      }
    }

    
  }
}

.weui-picker{
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;

  .weui-picker__hd{
    height: 120px;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
  }
  
}

.at-modal__overlay{
  background: rgba(37,38,45,.6);
}

.box-shadow-common{
  box-shadow: $box-shadow-card;
}
